function load_content(content_url, method, content_data) {
	$.ajax({
	  type: method,
	  data: content_data,
	  url: content_url,
	  success: function(content) {
	    $(".content").empty();
	    $(".content").append(content);
	  }
	});
	  
return false;
}

function logout() {
	load_content("script/user/logout.php", "POST", "");
	$(".head nav").hide();
	return false;
} 

function go_home() {
	window.location.href="index.php";
}

function go_settings() {
	return load_content("content/settings.php", "GET", "");
}